package com.bmbfm.completablefuture.mock;

import lombok.Data;

@Data
public class PriceResult {
    private double price;
    private double discounts;
    private double realPrice;
    private String platform;

    public PriceResult(String platform) {
        this.platform = platform;
    }

    @Override
    public String toString() {
        return
                "【平台：" + platform  +
                        ", 原价：" + price +
                        ", 折扣：" + discounts +
                        ", 实付价：" + realPrice +
                        "】";
    }
}
